import { Component } from 'react'
import { View, Text } from '@tarojs/components'
import { connect } from 'react-redux'
import './index.scss';

class Index extends Component {

  componentWillMount() { }

  componentDidMount() { }

  componentWillUnmount() { }

  componentDidShow() { }

  componentDidHide() { }

  render() {
    console.log(this.props)
    return (
      <View className='index'>
        <Text>Hello world!</Text>
      </View>
    )
  }
}

export default connect(state=>state.user)(Index)